package com.qf.administration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "conference_resource")
public class ConferenceResource {
    public static final String COL_ID = "id";
    public static final String COL_DEVICE_NAME = "device_name";
    public static final String COL_MODEL = "model";
    public static final String COL_DEVICE_STATUS = "device_status";
    public static final String COL_OPERATOR = "operator";
    public static final String COL_CREATE_TIME = "create_time";
    public static final String COL_STATUS = "status";
    /**
     * 0:删除；1：未删除
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;
    /**
     * 设备名称
     */
    @TableField(value = "device_name")
    private String deviceName;
    /**
     * 型号
     */
    @TableField(value = "model")
    private String model;
    /**
     * 设备状态：1.正常；2.禁用；3.维修中；
     */
    @TableField(value = "device_status")
    private Integer deviceStatus;
    /**
     * 操作员：系统管理员
     */
    @TableField(value = "`operator`")
    private String operator;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "`status`")
    private Integer status;
}